package com.yihu.beans;

import java.util.ArrayList;
import java.util.List;


public class WaterfallPage {
	private int totalPages;
	private int totalRecords;
	private int pageSize;
	private int currentPage;
	private List<Pin> pins = new ArrayList<Pin>();
	public WaterfallPage(){}
	public WaterfallPage(int totalRecords, int totalPages, int pageSize, int currentPage, List<Pin> data) {
		this.totalRecords = totalRecords;
		this.totalPages = totalPages;
		this.pageSize = pageSize;
		this.currentPage = currentPage;
		this.pins = data;
	}
	public int getTotalPages() {
		return totalPages;
	}
	public void setTotalPages(int totalPages) {
		this.totalPages = totalPages;
	}
	public int getTotalRecords() {
		return totalRecords;
	}
	public void setTotalRecords(int totalRecords) {
		this.totalRecords = totalRecords;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public List<Pin> getPins() {
		return pins;
	}
	public void setPins(List<Pin> pins) {
		this.pins = pins;
	}
	
	
}
